package com.guigu.www.erp.dehao.dao;

import com.guigu.www.erp.dehao.pojo.User;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userId);
    int insertSelective(User user);
    User selectByPrimaryKey(Integer userId);
    int updateByPrimaryKeySelective(User user);
    User login(User user);
    User accountIsExist(String userAccount);
    List<User> findAllUser1(String userName);
    List<User> findAllUser0(String userName);


    int insert(User record);
    int updateByPrimaryKey(User record);

    List<User> findAll();
}